package com.lei.zjs.service.ebi;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.lei.zjs.vo.Function;
import com.lei.zjs.vo.User;

/**
 * 权限管理service
 * @author Spinacia
 *
 */

public interface FunctionService {

	/**
	 * 查询全部权限数据
	 * @return
	 */
	public List<Function> findAll();

	/**
	 * 保存权限
	 * @param model
	 */
	public void save(Function model);

	/**
	 * 查询菜单
	 * @param user 
	 * @return
	 */
	public List<Function> findMenu(User user);

}
